package com.simple.elpmobile.onlinecase.engine.network;


import android.text.TextUtils;

/**
 * 
 * @author jgzheng 2013-12-30
 * @description 构建各种网络请求地址
 */
public class NetworkConfig 
{
	private static final String AND = "&";

	private static final String EQUALS = "=";
	

	public static String appendUrl(String key, String value) {
		String appendUrl = "";
		if (!TextUtils.isEmpty(key) && !TextUtils.isEmpty(value)) {
			appendUrl += AND;
			appendUrl += key;
			appendUrl += EQUALS;
			appendUrl += value;
		}
		return appendUrl;
	}
}